﻿using System;

namespace Cubicle.Core.Shared
{
    public class LogException : Exception
    {
        // Nlog
        private static NLog.Logger _logger = NLog.LogManager.GetCurrentClassLogger();

        public LogException(string message, params object[] args)
        {
            _logger.ErrorException(this, message, args);
        }

    }
}
